<extend name="Home@Base/common" xmlns="http://www.w3.org/1999/html"/>
<block name="body">
    <div class="span9 page_message">
        <section id="contents"> <include file="Home@Addons/_nav" />
                <div class="tab-content">
                    <div class="form-item cf">
                        <hr>
                        <button class="button1" value='返回' name="button"><a href="{$prev_url}"> << 返回详情页</a></button>
                        <label class="item-label" style="padding-left: 20%;font-weight: bold">[历史记录] 申请人: {$application.emp_name}  -  单号：{$application.apply_no} </label>
                        <hr>
                    </div>
                <table>
                    <thead><tr>
                        <th>流程</th>
                        <th>经办人</th>
                        <th>结果</th>
                        <th>意见</th>
                        <th>审批时间</th>
                    </tr></thead>
                    <volist name="apply_logs" id="vo">
                        <tr>
                            <td>{$vo['node_name']}</td>
                            <td>{$vo['approver']}</td>
                            <td><font color={$vo['font_color']}>{$vo['result']}</font></td>
                            <td><font color={$vo['font_color']}>{$vo['comment']}</font></td>
                            <td>{$vo['time']}</td>
                        </tr>
                    </volist>
                </table>
                <div class="page"> {$_page|default=''} </div>
            </div>
        </section>
    </div>
</block>

<block name="style">
    <style type="text/css">
        table {
            width: 100%;
            border-collapse: collapse;
            margin: 0 auto;
            text-align: center;
        }
        table td, table th {
            border: 0px solid #cad9ea;
            color: #666;
            height: 30px;
            text-align: center;
        }
        table thead th {
            background-color: #CCE8EB;
            width: 100px;
        }
        table tr:nth-child(odd) {
            background: #fff;
        }
        table tr:nth-child(even) {
            background: #F5FAFA;
        }
    </style>
</block>